﻿<Window x:Class="DynamicsCRMCustomizationToolForExcel.AddIn.Loading"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:DynamicsCRMCustomizationToolForExcel.AddIn.Components"
        xmlns:gif="http://wpfanimatedgif.codeplex.com"
        BorderThickness="1" 
        BorderBrush="#173561"
        Title="CRM " Width="300" Height="200"
        ResizeMode="NoResize" 
        SizeToContent="Height"
        WindowStartupLocation="CenterScreen" 
        WindowStyle="None"
        AllowsTransparency="True">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/Button/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <StackPanel VerticalAlignment="Center">
        <Image  Height="55" Width="55" gif:ImageBehavior.RepeatBehavior="Forever" gif:ImageBehavior.AnimatedSource="pack://application:,,,/DynamicsCRMCustomizationToolForExcel.AddIn;component/Resources/LoadingBig2.gif" HorizontalAlignment="Center"  />
        <Label HorizontalAlignment="Center" Content="Loading ..." FontWeight="Bold" FontSize="14" Margin="0,10,0,0" ></Label>
    </StackPanel>
</Window>
